projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce3ed45
)
drop: Guard variable with correct compiler flags
author
Benjamin Otte
<otte@redhat.com>
Sat, 22 Feb 2020 05:53:16 +0000
(06:53 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Sat, 22 Feb 2020 06:33:40 +0000
(07:33 +0100)
gdk/gdkdrop.c
patch
|
blob
|
history
diff --git
a/gdk/gdkdrop.c
b/gdk/gdkdrop.c
index b491eebfdb641fb1db98c47bf6d97040ff56e6b0..fd4169a29b95fc233fb8346ddf13df349b26753f 100644
(file)
--- a/
gdk/gdkdrop.c
+++ b/
gdk/gdkdrop.c
@@
-561,7
+561,9
@@
void
gdk_drop_status (GdkDrop *self,
GdkDragAction actions)
{
+#ifndef G_DISABLE_CHECKS
GdkDropPrivate *priv = gdk_drop_get_instance_private (self);
+#endif
g_return_if_fail (GDK_IS_DROP (self));
g_return_if_fail (priv->state != GDK_DROP_STATE_FINISHED);